/*
 * KDTree.cc
 *
 *  Created on: Mar 28, 2009
 *      Author: steveca
 */

#include "KDTree.h"
#include "SceneManager.h"

namespace RTRT
{
	/*
    KDTree :: KDTree() : 
    m_splitList(NULL), m_splitPool(NULL)
    {
        m_rootNode = new KTTreeNode();
        m_sceneManager = SceneManager :: getSingletonPtr();
    }
    
    KDTree :: ~KDTree()
    {
        
    }
    
    KDTreeNode *KDTree :: build()
    {
        // Step 1 : Add all the primitives in the scene to the root node
        
    }
    
    void KDTree :: insertSplitPos(float splitPos)
    {
        
    }
    
    
    void KDTree :: subDivide(const KTTreeNode *node, 
							const AxisAlignedBox& AxisAlignedBox, 
							int depth, unsigned int triCount)
    {
        
    }
    */
	
	void KDTreeNode :: add(const Triangle *tri)
	{
		
	}
}

